algebraic methods of solving a pair of linear equations